function result = checkHTFromSkewer(sktpAll, frameNum, rows) 
            
    
          
    %% Compare previous head and tail position to current position
      
    try
         if frameNum == 1 
              result = 1;        
         else
              [ curSkewerAngle, ~] = getLineAngles(B, A, rows);
              diff = getSmallestAngleBetween(curSkewerAngle, prevSkewerAngle);
              if diff <= 90
                  result =1;
              else
                  result = 0;
              end
         end
     catch
         result = 1;
     end
    

end

